package com.xydtech.workflow.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 流程节点定义对象 wfl_flownode_define
 *
 * @author JHON
 * @date 2021-03-16
 */
public class WflFlownodeDefine extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 节点编号 */
    private Long stepId;

    /** 节点名称 */
    @Excel(name = "节点名称")
    private String stepName;

    /** 节点说明 */
    @Excel(name = "节点说明")
    private String stepDesc;

    /** 节点状态 */
    @Excel(name = "节点状态")
    private String sts;

    public void setStepId(Long stepId) {
        this.stepId = stepId;
    }

    public Long getStepId() {
        return stepId;
    }

    public void setStepName(String stepName) {
        this.stepName = stepName;
    }

    public String getStepName() {
        return stepName;
    }

    public void setStepDesc(String stepDesc) {
        this.stepDesc = stepDesc;
    }

    public String getStepDesc() {
        return stepDesc;
    }

    public void setSts(String sts) {
        this.sts = sts;
    }

    public String getSts() {
        return sts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("stepId", getStepId())
                .append("stepName", getStepName())
                .append("stepDesc", getStepDesc())
                .append("sts", getSts())
                .toString();
    }
}
